# $Id: PKGBUILD 64864 2012-02-18 18:22:36Z lcarlier $
# Contributor: Aurelien Foret <orelien@chez.com>
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>

pkgname=patchutils
pkgver=0.3.2
pkgrel=2
pkgdesc="A small collection of programs that operate on patch files"
license=('GPL')
url="http://cyberelk.net/tim/patchutils/"
depends=('perl')
arch=('i686' 'x86_64')
source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.bz2)
md5sums=('74607b4a28c9009c6aeeed0e91098917')

build() {
  cd $srcdir/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver

  make DESTDIR=$pkgdir install
}
